package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.User;

import java.util.List;

public interface UserService {
    List<User> findAll();

    void add(User user);

    User ById(String id);

    void update(User user);

    void delete(String id);

    void deleteSelected(String[] uids);

    PageInfo findByPage(String currentPage, String pageSize);
}
